//
//  DZTest1ViewController.m
//  Weico
//
//  Created by 大泽 on 15/7/21.
//  Copyright (c) 2015年 刘洪泽. All rights reserved.
//

#import "DZTest1ViewController.h"
#import "DZTest2ViewController.h"
@interface DZTest1ViewController ()

@end

@implementation DZTest1ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    DZTest2ViewController *test2 = [[DZTest2ViewController alloc]init];
    test2.view.backgroundColor = DZRandomColor;
    [self.navigationController pushViewController:test2 animated:YES];
    
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
